function logging(text){
	try{
		var logg=false;
		if(logg=document.getElementById('logging')){
		}else{
			logg=create("div",{id:"logging","class":"logging"});
			logg.innerText="Logiing place:";
			document.body.appendChild(logg);
		}
		if(logg){
			logg.innerHTML=tagsToText(text)+"<br>"+logg.innerHTML;
		}else{
			alert(text);
		}
	}catch(e){
		alert(text+"\n"+e.message);
	}
}